home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / enlightenment / e_grabinput.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  752b  |  27 lines

  1. /*
  2.  * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
  3.  */
  4. #ifdef E_TYPEDEFS
  5.  
  6. typedef enum _E_Focus_Method
  7. {
  8.    E_FOCUS_METHOD_NO_INPUT,
  9.    E_FOCUS_METHOD_LOCALLY_ACTIVE,
  10.    E_FOCUS_METHOD_GLOBALLY_ACTIVE,
  11.    E_FOCUS_METHOD_PASSIVE
  12. } E_Focus_Method;
  13.  
  14. #else
  15. #ifndef E_GRABINPUT_H
  16. #define E_GRABINPUT_H
  17.  
  18. EAPI int            e_grabinput_init(void);
  19. EAPI int            e_grabinput_shutdown(void);
  20. EAPI void           e_grabinput_get(Ecore_X_Window mouse_win, int confine_mouse, Ecore_X_Window key_win);
  21. EAPI void           e_grabinput_release(Ecore_X_Window mouse_win, Ecore_X_Window key_win);
  22. EAPI void           e_grabinput_focus(Ecore_X_Window win, E_Focus_Method method);
  23. EAPI double         e_grabinput_last_focus_time_get(void);
  24.     
  25. #endif
  26. #endif
  27.